<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: ajinlong
  Date: 2021/6/24
  Time: 18:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>注册结果</title>
</head>
<body>

<table>

    <tr>
        <td>用户名</td>
        <td>${registerUser.userId}</td>
    </tr>

    <tr>
        <td>密码</td>
        <td>${registerUser.password}</td>
    </tr>

    <tr>
        <td>性别</td>
        <td>${registerUser.sex}</td>
    </tr>

    <tr>
        <td>所在地</td>
        <td>${registerUser.province}</td>
    </tr>

    <tr>
        <td>运动特长</td>
        <td>
            <c:forEach items="${registerUser.sportInterests}" var="sportInterest">
                ${sportInterest}&nbsp;&nbsp;
            </c:forEach>
        </td>
    </tr>

    <tr>
        <td>是否同意此协议</td>
        <td>${registerUser.agree}</td>
    </tr>

</table>

</body>
</html>
